package com.suxin.plugin.listener;

/**
 * @author Tang
 * @classname PluginListener
 * @description [  ]
 * @date 2022/6/26 18:19
 */
public interface PluginListener {

    /**
     * register
     * @param pluginId pluginId
     */
    void register(String pluginId);

    /**
     * unRegister
     * @param pluginId pluginId
     */
    void unRegister(String pluginId);

    /**
     * failure
     * @param pluginId
     * @param throwable
     */
    void failure(String pluginId, Throwable throwable);

}
